/* 
* @Author: obsidian
* @Date:   2015-12-15 19:55:53
* @Last Modified by:   obsidian
* @Last Modified time: 2016-01-30 08:39:47
*/

#ifndef GPSTEER_H
#include "../def.h"
#include "stm32f10x_tim.h"

struct Gpsteer
{
    unsigned short          *CCRx;
    unsigned char           status;
    unsigned short          midvalue0;
	unsigned short          midvalue1;
    short                   limit[2];
    float                   ratio;
    void                    (*init)();
    void                    (*read_from_sd)();
    void                    (*hold)();
    void                    (*release)();
    void                    (*save)();
	void										(*control)();
};


extern struct Gpsteer gpsteer;


#define GPSTEER_H
#endif
